aboutsummaryrefslogtreecommitdiffstats
path: root/src/pages/article/[slug].tsx
diff options
context:
space:
mode:
authorArmand Philippot <git@armandphilippot.com>2022-02-13 17:22:33 +0100
committerArmand Philippot <git@armandphilippot.com>2022-02-13 17:22:33 +0100
commit45e4e10f4c7b818e83f6f7ab0255206e90f55851 (patch)
tree9007744fa0d0faaba1c13edb7fd08f17e30270c6 /src/pages/article/[slug].tsx
parent22d5ffa155080037a32a64814002b987bddce3b4 (diff)
chore: update some texts to reduce its width
In French, "Utiliser le thème sombre" was a little too long, so instead I decided to remove the "Toggle" word and add an icon to help user understand the button purpose. Same way, "Aucune étoile" was too long, so I replace it with "0 étoile"
Diffstat (limited to 'src/pages/article/[slug].tsx')
-rw-r--r--src/pages/article/[slug].tsx4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pages/article/[slug].tsx b/src/pages/article/[slug].tsx
index 689f123..a45cbc9 100644
--- a/src/pages/article/[slug].tsx
+++ b/src/pages/article/[slug].tsx
@@ -141,11 +141,11 @@ const SingleArticle: NextPageWithLayout<ArticleProps> = ({ post }) => {
description: 'Prism: error text',
});
const darkTheme = intl.formatMessage({
- defaultMessage: 'Toggle Dark Theme',
+ defaultMessage: 'Dark Theme 🌙',
description: 'Prism: toggle dark theme button text',
});
const lightTheme = intl.formatMessage({
- defaultMessage: 'Toggle Light Theme',
+ defaultMessage: 'Light Theme 🌞',
description: 'Prism: toggle light theme button text',
});